package com.gaohe.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@TableName("comment")
public class Comment implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long shopId;
    private Long userId;
    private String content;
    private LocalDate createTime;
    private Integer status;
    private Integer storage;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Shop shop;
}
